package com.ylcode.libback.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Record implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long recordId;

    private Long recordBookId;

    private String recordBookAuthor;

    private String recordBookPress;

    private String recordBookStatus;

    private String recordBookName;

    private String recordBookIsbn;

    private String recordBorrower;

    private LocalDateTime recordBorrowTime;

    private LocalDateTime recordReturnTime;
}
